//存储本地
export const SET_TOKEN = (token: string) => {

    localStorage.setItem('token', token)

}
//获取本地token
export const GET_TOKEN = () => {
    return localStorage.getItem('token')
}

//s删除token 
export const DELE_TOEKN = () => {

    localStorage.removeItem('token')
}
export const SET_USER = (useinfo: any) => {
    localStorage.setItem('useinfo', JSON.stringify(useinfo))
}
export const GET_USERFION = () => {
    return localStorage.getItem('useinfo')
}
//删除本地用户信息

export const DELE_USER = () => {
    localStorage.removeItem('useinfo')
}